Skip to content

fix: regenerate lockfile for hotcrm/ai package and remove unused import - #631

Merged
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-please-work
Feb 19, 2026
Merged

fix: regenerate lockfile for hotcrm/ai package and remove unused import#631
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-please-work

Conversation

Copilot AI commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Vercel CI fails with ERR_PNPM_OUTDATED_LOCKFILE because examples/hotcrm/packages/ai/package.json added 5 new dependencies not reflected in pnpm-lock.yaml. Console build also fails on an unused import (TS6133).

  • pnpm-lock.yaml: Regenerated with hotcrm submodule checked out to include @objectstack/cli, @objectstack/spec, axios, zod, typescript specifiers from the new @hotcrm/ai workspace package
  • apps/console/src/components/ObjectView.tsx: Removed unused cn import from @object-ui/components
-import { cn, Button, Empty, EmptyTitle, ... } from '@object-ui/components';
+import { Button, Empty, EmptyTitle, ... } from '@object-ui/components';
Original prompt

fix all ci errors and

21:10:42.230 Running build in Washington, D.C., USA (East) – iad1
21:10:42.231 Build machine configuration: 4 cores, 8 GB
21:10:42.333 Cloning github.com/objectstack-ai/objectui (Branch: main, Commit: 085d9fb)
21:10:43.879 Cloning completed: 1.546s
21:10:44.431 Restored build cache from previous deployment (4BuvJX4awo1rLhbPxhjne6o5jwZf)
21:10:44.826 Running "vercel build"
21:10:45.371 Vercel CLI 50.18.2
21:10:45.511 > Detected Turbo. Adjusting default settings...
21:10:46.085 Detected pnpm-lock.yaml version 9 generated by pnpm@10.x with package.json#packageManager pnpm@10.28.2
21:10:46.086 Running "install" command: cd ../.. && pnpm install --frozen-lockfile...
21:10:48.693 Scope: all 61 workspace projects
21:10:48.925  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /examples/hotcrm/packages/ai/package.json
21:10:48.926
21:10:48.926 Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
21:10:48.926
21:10:48.926 Failure reason:
21:10:48.926 specifiers in the lockfile don't match specifiers in package.json:
21:10:48.926 * 5 dependencies were added: @objectstack/cli@^3.0.3, typescript@^5.9.3, @objectstack/spec@^3.0.3, axios@^1.13.5, zod@^4.3.6
21:10:48.926
21:10:48.951 Error: Command "cd ../.. && pnpm install --frozen-lockfile" exited with 1


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel

vercel Bot commented Feb 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectui Ready Ready Preview, Comment Feb 19, 2026 1:44pm
objectui-demo Ready Ready Preview, Comment Feb 19, 2026 1:44pm
objectui-storybook Ready Ready Preview, Comment Feb 19, 2026 1:44pm

Request Review

…d cn import

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix all CI errors related to pnpm lockfile fix: regenerate lockfile for hotcrm/ai package and remove unused import Feb 19, 2026
Copilot AI requested a review from hotlong February 19, 2026 13:40
@hotlong
hotlong marked this pull request as ready for review February 19, 2026 13:44
Copilot AI review requested due to automatic review settings February 19, 2026 13:44
@hotlong
hotlong merged commit 192d759 into main Feb 19, 2026
6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Vercel CI build failure caused by an outdated lockfile and removes an unused import. The CI error (ERR_PNPM_OUTDATED_LOCKFILE) occurred because the examples/hotcrm/packages/ai/package.json added 5 new dependencies that were not reflected in the lockfile. Additionally, the console build failed due to an unused cn import causing a TypeScript error (TS6133).

Changes:

  • Regenerated pnpm-lock.yaml with the hotcrm submodule checked out to include all 16 hotcrm workspace packages and their dependencies
  • Removed unused cn import from apps/console/src/components/ObjectView.tsx

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
pnpm-lock.yaml Added importers for all 16 hotcrm/packages/* workspaces (ai, analytics, community, core, crm, education, finance, financial-services, healthcare, hr, integration, marketing, products, real-estate, server, support) with their respective dependencies including new packages like axios@1.13.5, zod@4.3.6, @objectstack/cli, @objectstack/spec, and typescript. Also includes transitive dependency updates and removal of some optional markers as a side effect of lockfile regeneration.
apps/console/src/components/ObjectView.tsx Removed unused cn import from the @object-ui/components import statement (verified that cn() is not used anywhere in the file)
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants